<?php
	# Start Session
	session_start();
	
	# Check if is set. If isn't set, redirect to main page
	if(!isset($_SESSION["name"]) AND (!isset($_SESSION["lastname"])) AND (!isset($_SESSION["login"])) AND (!isset($_SESSION["psw"]))){
		header("Location: /itcontrol/index.html");
	}
?>